Declare Function getsystemmetrics Lib "User" (ByVal nIndex As Integer) As Integer
Declare Function mciSendstring Lib "MMsystem" (ByVal lpCoMMand As String, ByVal lpReturnString As String, ByVal WReturnLength As Integer, ByVal hCallback As Integer) As Long
Declare Function mciexecute Lib "MMsystem" (ByVal lpCoMMand As String) As Integer
Declare Function mciGetErrorString Lib "MMsystem" (ByVal dwError As Long, ByVal lpBuffer As String, ByVal WReturnLength As Integer) As Integer